Our MPG (Manual Pulse Generator) Case.

Hooking an MPG to our Vertical Milling Center became somewhat a bit of a challenge.
Very soon in the Retrofit we had a lack of IO's (inputs & outputs) using two 7I37 from MESA.
In the mean time we installed a complete software MPG that looks like this:



It is a copy of the information of the Wallacecompany.

The HAL file is HERE
The XML file is HERE

Since our machine is a big iron, it proved to be a bit unhandy.
The distance from the table of the machine towards the mouse is just too large.
On the other hand we already had the original Siemens MPG with an encoder.
No other provisions for scaling, enabling, allocating the X, Y and Z joints are present.
It was only after hooking up a Parallel Port outbreak board that we gave it a shot.
We only use the existing encoder as MPG and use the PYVCP for scaling, enabling, allocating the X, Y and Z joints.
It looks like this now:


The HAL file is HERE
The XML file is HERE

For the record:
The connector to the MPG is a 4 Pole Harting Connector:
Pin 1:5VDC
Pin 2:Channel A Encoder
Pin 3:Channel B Encoder
Pin 4:GND



The Wiring on the Back of the Encoder is:
B Inverse: brown - grey wire
B : red - black wire
A Inverse: green - yellow wire
A : purple- blue wire
GND : orange- white brown wire
5VDC : white - white black wire

thank you LinuxCNC.